package com.mastercard.assets.web.util.to;

import java.io.Serializable;

public class TipoCuentaPaqueteTO
	implements
		Serializable
{
	private String nombre ;
	private int packageAsigned = 0 ;
	private int packageAsignedToCount = 0 ;
	private int paq = 0 ;
	
	public int getPackageAsignedToCount() {
		return packageAsignedToCount;
	}
	public void setPackageAsignedToCount(int packageAsignedToCount) {
		this.packageAsignedToCount = packageAsignedToCount;
	}
	public int getPaq() {
		return paq;
	}
	public void setPaq(int paq) {
		this.paq = paq;
	}
	public String getNombre() {
		return nombre;
	}
	public int getPackageAsigned() {
		return packageAsigned;
	}
	
	public void setPackageAsigned(int packageAsigned) {
		this.packageAsigned = packageAsigned;
	}
	public TipoCuentaPaqueteTO( String nombre )
	{
		this.nombre = nombre ;
	}
	
	public void addAsignedPackage( )
	{
		packageAsigned++ ;
	}
	public void restAsignedPackage( )
	{
		packageAsigned-- ;
	}
	public void restAsignedPackage( int rest )
	{
		packageAsigned -= rest ;
	}
	
	public void addAsignedToCountPackage( )
	{
		packageAsignedToCount++ ;
	}
}
